//
//  LBRouterDefine.h
//  LBRouter
//
//  Created by WuShiHai on 19/5/24.
//  Copyright (c) 2019 Lebbay. All rights reserved.
//

#ifndef LBRouterDefine_h
#define LBRouterDefine_h

#define LB_REGISTER_SERVICE_ROUTER(router) \
MLRegisterNativeServiceRouter(router);

#define LB_REGISTER_CONTROLLER_ROUTER(router) \
+ (void)load { LBRegisterControllerRouter(router,self); }

#define LB_REGISTER_ROUTER_PROPERTY(...)\
+ (NSArray<NSString *> *)LB_ROUTER_PROPERTY_AUTO_MATCH{\
return @[__VA_ARGS__];\
}

#endif /* LBRouterDefine_h */
